package cn.flymod.DHG_mcpePlusEX;

import android.app.*;
import android.content.*;
import android.net.*;
import android.os.*;
import android.view.*;
import android.view.View.*;
import android.widget.*;

public class a_data extends Activity
{
    /** Called when the activity is first created. */
    @Override
	TextView activitydataTextView1,activitydataTextView2,activitydataTextView3;
	Button activitydataButton1,activitydataButton2,activitydataButton3,activitydataButton4,activitydataButton5,activitydataButton6,activitydataButton7,activitydataButton8,activitydataButton9,activitydataButton10;
    public void onCreate(Bundle savedInstanceState)
	{
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_data);
		
		getActionBar().setDisplayHomeAsUpEnabled(true);
		
		activitydataTextView1=(TextView)findViewById(R.id.activitydataTextView1);
		activitydataTextView2=(TextView)findViewById(R.id.activitydataTextView2);
		activitydataTextView3=(TextView)findViewById(R.id.activitydataTextView3);
		activitydataButton1=(Button)findViewById(R.id.activitydataButton1);
		activitydataButton2=(Button)findViewById(R.id.activitydataButton2);
		activitydataButton3=(Button)findViewById(R.id.activitydataButton3);
		activitydataButton4=(Button)findViewById(R.id.activitydataButton4);
		activitydataButton5=(Button)findViewById(R.id.activitydataButton5);
		activitydataButton6=(Button)findViewById(R.id.activitydataButton6);
		activitydataButton7=(Button)findViewById(R.id.activitydataButton7);
		activitydataButton8=(Button)findViewById(R.id.activitydataButton8);
		activitydataButton9=(Button)findViewById(R.id.activitydataButton9);
		activitydataButton10=(Button)findViewById(R.id.activitydataButton10);
		
		activitydataTextView1.setText("精品存档");
		activitydataTextView2.setText("声明:版权归原作者或原作者所在工作室所有..");
		activitydataTextView3.setText("●如何使用存档:下载.zip格式存档压缩包→解压,得到一个装有多个文件的文件夹,→复制该文件夹到sd卡/games/com.mojang/MinecraftWorlds目录→进入游戏→点击play,上下滑动找到下载的存档即可.");
		activitydataButton1.setText("minecraftpe吧精品区");
		activitydataButton2.setText("安卓我的世界吧精品区");
		activitydataButton3.setText("岩谷小镇&奥古斯城(建筑)");
		activitydataButton4.setText("CSOL大灾变三部曲(建筑)");
		activitydataButton5.setText("超平坦50in1");
		activitydataButton6.setText("故宫●午门(建筑)");
		activitydataButton7.setText("海贼王 千阳号(建筑)");
		activitydataButton8.setText("CSOL ze_skyline 逃出生天(跑酷)");
		activitydataButton9.setText("CS1.6 cs_italy 意大利(PVP)");
		activitydataButton10.setText("视频教程 - 下载存档的方法");
		
		activitydataButton1.setOnClickListener(new OnClickListener(){
				public void onClick(View v)
				{
					Toast.makeText(getApplicationContext(),"正在打开minecraftpe吧精品区...",Toast.LENGTH_LONG).show();
					Uri uri= Uri.parse("http://tieba.baidu.com/f?kw=minecraftpe&lm=4&cid=2&gaword=%E4%BD%9C%E5%93%81%E5%8F%91%E5%B8%83&mo_device=1");
					Intent intent = new Intent(Intent.ACTION_VIEW,uri);
					startActivity(intent);
				}
	    	});
		activitydataButton2.setOnClickListener(new OnClickListener(){
				public void onClick(View v)
				{
					Toast.makeText(getApplicationContext(),"正在打开安卓我的世界吧精品区...",Toast.LENGTH_LONG).show();
					Uri uri= Uri.parse("http://tieba.baidu.com/f?kw=%E5%AE%89%E5%8D%93%E6%88%91%E7%9A%84%E4%B8%96%E7%95%8C&lm=4&cid=1&gaword=%E4%BD%9C%E5%93%81%E5%AD%98%E6%A1%A3&mo_device=1");
					Intent intent = new Intent(Intent.ACTION_VIEW,uri);
					startActivity(intent);
				}
	    	});
		activitydataButton3.setOnClickListener(new OnClickListener(){
				public void onClick(View v)
				{
					Toast.makeText(getApplicationContext(),"作者:vita45",Toast.LENGTH_LONG).show();
					Uri uri= Uri.parse("http://pan.baidu.com/share/link?shareid=642946509&uk=2869900060");
					Intent intent = new Intent(Intent.ACTION_VIEW,uri);
					startActivity(intent);
				}
	    	});
		activitydataButton4.setOnClickListener(new OnClickListener(){
				public void onClick(View v)
				{
					Toast.makeText(getApplicationContext(),"作者:Minezeratul",Toast.LENGTH_LONG).show();
					Uri uri= Uri.parse("http://tieba.baidu.com/p/2178270496");
					Intent intent = new Intent(Intent.ACTION_VIEW,uri);
					startActivity(intent);
				}
	    	});
		activitydataButton5.setOnClickListener(new OnClickListener(){
				public void onClick(View v)
				{
					Toast.makeText(getApplicationContext(),"作者:打聂了",Toast.LENGTH_LONG).show();
					Uri uri= Uri.parse("http://tieba.baidu.com/p/2516986492");
					Intent intent = new Intent(Intent.ACTION_VIEW,uri);
					startActivity(intent);
				}
	    	});
		activitydataButton6.setOnClickListener(new OnClickListener(){
				public void onClick(View v)
				{
					Toast.makeText(getApplicationContext(),"作者:依然范海希",Toast.LENGTH_LONG).show();
					Uri uri= Uri.parse("http://tieba.baidu.com/p/2824483082");
					Intent intent = new Intent(Intent.ACTION_VIEW,uri);
					startActivity(intent);
				}
	    	});
		activitydataButton7.setOnClickListener(new OnClickListener(){
				public void onClick(View v)
				{
					Toast.makeText(getApplicationContext(),"作者:Miss灬饭团",Toast.LENGTH_LONG).show();
					Uri uri= Uri.parse("http://tieba.baidu.com/p/2761144481");
					Intent intent = new Intent(Intent.ACTION_VIEW,uri);
					startActivity(intent);
				}
	    	});
		activitydataButton8.setOnClickListener(new OnClickListener(){
				public void onClick(View v)
				{
					Toast.makeText(getApplicationContext(),"作者:FLY_MOD",Toast.LENGTH_LONG).show();
					Uri uri= Uri.parse("http://tieba.baidu.com/p/2393192811");
					Intent intent = new Intent(Intent.ACTION_VIEW,uri);
					startActivity(intent);
				}
	    	});
		activitydataButton9.setOnClickListener(new OnClickListener(){
				public void onClick(View v)
				{
					Toast.makeText(getApplicationContext(),"作者:FLY_MOD",Toast.LENGTH_LONG).show();
					Uri uri= Uri.parse("http://tieba.baidu.com/p/2418059192");
					Intent intent = new Intent(Intent.ACTION_VIEW,uri);
					startActivity(intent);
				}
	    	});
		activitydataButton10.setOnClickListener(new OnClickListener(){
				public void onClick(View v)
				{
					Toast.makeText(getApplicationContext(),"FLY_MOD录制 请自行下载观看",Toast.LENGTH_LONG).show();
					Uri uri= Uri.parse("http://pan.baidu.com/share/link?shareid=2182693491&uk=2470387536");
					Intent intent = new Intent(Intent.ACTION_VIEW,uri);
					startActivity(intent);
				}
	    	});
    }
}
